<?php


namespace app\test\controller;


use app\BaseController;
use app\service\wotuService;
use think\facade\Log;

class Door extends BaseController
{
    public function test(){
        Log::error('这是一条错误日志',["yangzl"=>"yangzl"]);
    }
    public function getToken(){
        $api =new wotuService();
//        $res=$api->token();
//        var_dump($res);exit;
        $res=$api->devopen("84E0F427EC49527A");
        var_dump($res);
    }

}